Message

data class Message(val messageSettings: NavigationSpec.Message.MessageSettings, val delegate: <Error class: unknown class>, val animated: Boolean = false, val completion: () -> Unit? = null) : NavigationSpec

Presents a MFMessageComposeViewController

Parameters

messageSettings

The MessageSettings for configuring the message

delegate

The MFMessageComposeViewControllerDelegateProtocol to add to the MFMessageComposeViewController

animated

Specifies whether transition is animated

completion

Optional function called when presentation is completed

Constructors

Link copied to clipboard
constructor(messageSettings: NavigationSpec.Message.MessageSettings, delegate: <Error class: unknown class>, animated: Boolean = false, completion: () -> Unit? = null)

Types

Link copied to clipboard
data class Attachment(val data: <Error class: unknown class>, val mimeType: String, val fileName: String)

An attachement added to the message

Link copied to clipboard
data class MessageSettings(val recipients: List<String> = emptyList(), val subject: String? = null, val body: String? = null, val message: <Error class: unknown class>? = null, val disableAttachments: Boolean = false, val attachments: List<NavigationSpec.Message.Attachment> = emptyList())

Settings for configuring the message

Properties

Link copied to clipboard
val animated: Boolean = false
Link copied to clipboard
val completion: () -> Unit? = null
Link copied to clipboard
val delegate: <Error class: unknown class>